package com.example.associationmanager.bean;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@Data//生成get,set
@TableName("association_info")
public class Association {
    @TableId(value = "community_number",type = IdType.AUTO)
    private Integer communityNumber;//社团编号
    private String communityName;//社团名称
    private String communityBrief;//社团简介
    private String communityStatus;//社团状态
    private String communityRest;//其他信息


    public Association() {
    }

    public Association(Integer communityNumber, String communityName, String communityBrief, String communityStatus, String communityRest) {
        this.communityNumber = communityNumber;
        this.communityName = communityName;
        this.communityBrief = communityBrief;
        this.communityStatus = communityStatus;
        this.communityRest = communityRest;
    }
}
